package com.hrpmar.pojo;


/**
 * 采购明细表
 */
public class Purdetails {

  private Integer delId;                  //采购明细序号
  private String planNum;                 //采购明细编号
  private String drugNum;               //药品编号
  private Float delBuyprice;            //购进价格
  private Float delRetailprice;         //批发价格
  private Float delOneprice;            //零售价格
  private Integer delQoh;               //现有数量
  private Integer delBuynum;          //购进数量

  private Purplan purplan;            //采购主表对象
  private Druginfo druginfo;          //药品信息表对象

  public Integer getDelId() {
    return delId;
  }

  public void setDelId(Integer delId) {
    this.delId = delId;
  }

  public String getPlanNum() {
    return planNum;
  }

  public void setPlanNum(String planNum) {
    this.planNum = planNum;
  }

  public String getDrugNum() {
    return drugNum;
  }

  public void setDrugNum(String drugNum) {
    this.drugNum = drugNum;
  }

  public Float getDelBuyprice() {
    return delBuyprice;
  }

  public void setDelBuyprice(Float delBuyprice) {
    this.delBuyprice = delBuyprice;
  }

  public Float getDelRetailprice() {
    return delRetailprice;
  }

  public void setDelRetailprice(Float delRetailprice) {
    this.delRetailprice = delRetailprice;
  }

  public Float getDelOneprice() {
    return delOneprice;
  }

  public void setDelOneprice(Float delOneprice) {
    this.delOneprice = delOneprice;
  }

  public Integer getDelQoh() {
    return delQoh;
  }

  public void setDelQoh(Integer delQoh) {
    this.delQoh = delQoh;
  }

  public Integer getDelBuynum() {
    return delBuynum;
  }

  public void setDelBuynum(Integer delBuynum) {
    this.delBuynum = delBuynum;
  }

  public Purplan getPurplan() {
    return purplan;
  }

  public void setPurplan(Purplan purplan) {
    this.purplan = purplan;
  }

  public Druginfo getDruginfo() {
    return druginfo;
  }

  public void setDruginfo(Druginfo druginfo) {
    this.druginfo = druginfo;
  }

  @Override
  public String toString() {
    return "Purdetails{" +
            "delId=" + delId +
            ", planNum='" + planNum + '\'' +
            ", drugNum='" + drugNum + '\'' +
            ", delBuyprice=" + delBuyprice +
            ", delRetailprice=" + delRetailprice +
            ", delOneprice=" + delOneprice +
            ", delQoh=" + delQoh +
            ", delBuynum=" + delBuynum +
            ", purplan=" + purplan +
            ", druginfo=" + druginfo +
            '}';
  }
}
